#!/usr/bin/env python
#
# Copyright 2008 Jake
#
import os
import cgi
import wsgiref.handlers

from google.appengine.ext import webapp
from google.appengine.ext.webapp import template

class show404(webapp.RequestHandler):
    def get(self):
        path = os.path.join(os.path.dirname(__file__), '404.html')
        template_values = {}
        self.response.out.write(template.render(path, template_values))

application = webapp.WSGIApplication([
    ('/.*', show404)
], debug=True)


def main():
    wsgiref.handlers.CGIHandler().run(application)


if __name__ == '__main__':
    main()
